package javaCode.chapter07.Homework.homework04;

public class Homework04 {
    public static void main(String[] args) {

        Manager jack = new Manager("jack", 500, 30, 1.2);
        //设置奖金
        jack.setBonus(1000);
        jack.printSal();

        Worker nick = new Worker("nick", 300, 29, 1);
        nick.printSal();

    }

}
